﻿using AiXiu.BLL;
using Reservoir.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Reservoir.WebSite
{
    public partial class Record : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                var userid = IdentityManager.ReadUser1().Id;
                RecordBLL recordBLL = new RecordBLL();
                var user = recordBLL.GetByTBUsers(userid.ToString());
                gvTBRecordAddList.DataSource = user;
                gvTBRecordAddList.DataBind();
            }
        }
    }
}